package org.example.weboj.dto;

import lombok.Data;
import java.util.List;

@Data
public class ProblemDTO {
    private Long id;
    private String title;
    private String description;
    private String difficulty;
    private Integer timeLimit;    // in milliseconds
    private Integer memoryLimit;  // in megabytes
    private List<TestCaseDTO> testCases;

    public ProblemDTO(Long id, String title, String description, String difficulty, 
                     Integer timeLimit, Integer memoryLimit, List<TestCaseDTO> testCases) {
        this.id = id;
        this.title = title;
        this.description = description;
        this.difficulty = difficulty;
        this.timeLimit = timeLimit;
        this.memoryLimit = memoryLimit;
        this.testCases = testCases;
    }
}
